﻿@using KL.Store.Core
@{
    Layout = "~/Views/Shared/" + Parameters.Layout + ".cshtml";
    var cssClass = "col-xs-12 col-sm-12 col-md-3 col-lg-2 left first last";
    if (Parameters.Theme == "DK" || Parameters.Theme == "EO")
    {
        cssClass = "col-xs-12 col-sm-12 col-md-4 col-lg-3 left first";
    }
    else if (Parameters.Theme == "WU")
    {
        cssClass = "col-xs-12 col-sm-12 col-md-4 col-lg-3 left";
    }
}
<div class="@cssClass">
    @if (Parameters.Theme != "JB")
    {
        Html.RenderAction("Categories", "Partials");
        if (Parameters.ShowTopSellersOnHomePage)
        {
        <div class="hidden-xs hidden-sm">
            @{Html.RenderAction("BestSeller", "Partials");}
        </div>
        }
    }
</div>
@{
    Html.RenderAction("Get", "Categories", new { id = ViewContext.RouteData.Values["id"] });
}